package org.jerrymouse.jsa4j.db.kv.mem;

import java.util.HashMap;
import java.util.Map;

import org.jerrymouse.jsa4j.db.kv.DBManager;

public class JcacheDBManager implements DBManager {
	Map<String, String> cache;

	public JcacheDBManager() {
		cache = new HashMap<String, String>();
	}

	@Override
	public MemDB getDB() {
		MemDB memDB = new MemDB();
		memDB.setCache(cache);
		return memDB;
	}

	@Override
	public void setProperties(Map<String, String> property) {
	}

}
